package cn.yuan.cong.test.spring.cloud.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Administrator on 2017/7/4.
 */

@SpringBootApplication
@EnableEurekaClient
@EnableHystrix
@ComponentScan("cn.yuan.cong.test.spring.cloud.web")
@ServletComponentScan("cn.yuan.cong.test.spring.cloud.web")
public class WebApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(WebApplication.class, args);
    }
}
